﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RN.ERP.DTO
{
    public class SysStyleCfg
    {
        #region 节点类定义

        public class Style
        {
            private int? _styleId;
            private string _href;

            /// <summary>
            /// 样式编号
            /// </summary>
            public int? StyleId
            {
                get { return _styleId; }
                set { _styleId = value; }
            }

            /// <summary>
            /// 样式的URL
            /// </summary>
            public string Href
            {
                get { return _href; }
                set { _href = value; }
            }
        }
        #endregion

        #region 属性
        private List<Style> _sysStyles = new List<Style>();
        private List<Style> _portalStyles = new List<Style>();

        /// <summary>
        /// 门户网站样式集合
        /// </summary>
        public List<Style> PortalStyles
        {
            get { return _portalStyles; }
            set { _portalStyles = value; }
        }

        /// <summary>
        /// 系统样式集合
        /// </summary>
        public List<Style> SysStyles
        {
            get { return _sysStyles; }
            set { _sysStyles = value; }
        }
        #endregion
    }
}
